package com.lebang.service.sys;

import com.lebang.domain.SdkErrorLog;
import com.lebang.example.SdkErrorLogExample;
import com.lebang.mapper.SdkErrorLogMapper;
import com.lebang.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

/**
* sdk_error_log
* @Author hwq
* @Date 2020-09-15
*/
@Service
public class SdkErrorLogService extends BaseService<SdkErrorLog,Long, SdkErrorLogExample>{
    @Autowired
    private SdkErrorLogMapper sdkErrorLogMapper;

    public List<SdkErrorLog> selectByDateTime(LocalDateTime star, LocalDateTime end,Integer page,Integer limit) {
        return sdkErrorLogMapper.getErrorLogCount(star,end,page,limit);
    }
}
